import Vue from 'vue'
import FastClick from 'fastclick'
// import VueRouter from 'vue-router'
import App from './App'
import router from './router/index'
import 'lib-flexible/flexible.js'



import VueLazyLoad from 'vue-lazyload'
Vue.use(VueLazyLoad,{
    error:'./assets/img/error.png',
    loading:'./static/loading.png'
})
// Vue.use(VueRouter)

// const routes = [{
//   path: '/',
//   component: Home
// }]

// const router = new VueRouter({
//   routes
// })

FastClick.attach(document.body)

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  router,
  render: h => h(App)
}).$mount('#app-box')
